﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;
using System.Windows;

namespace Kokomo.Controls
{
	public class TreemapControl : EnhancedTreeView
	{
		static TreemapControl()
		{
			DefaultStyleKeyProperty.OverrideMetadata(typeof(TreemapControl), new FrameworkPropertyMetadata(typeof(TreemapControl)));
		}

		protected override System.Windows.DependencyObject GetContainerForItemOverride()
		{
			return new TreemapItem();
		}
		protected override bool IsItemItsOwnContainerOverride(object item)
		{
			return item is TreemapItem;
		}
	}
}
